package edu.spec.wfl.week04.class1;

public class Juxing {
    private double length;
    private double width;
    public Juxing(double length , double width){
        this.length=length;
        this.width=width;
    }
    public double mianJi(){
        return length*width;
    }
    public static void main(String[] args){
        Juxing j=new Juxing(5,10);
        System.out.println(j.mianJi());
    }
}
